package me.lc.linklink.entity;

import me.lc.linklink.core.GameArrangeType;

/**
 * 关卡信息
 * 
 * @author Administrator
 * 
 */
public class StageInfo {
	private String stageName;
	private GameArrangeType arrType;
	private int totalTime;
	private int itemCount;
	private int itemStartIndex;
	private int score = -1;
	private boolean lock;

	public String getStageName() {
		return stageName;
	}

	public void setStageName(String stageName) {
		this.stageName = stageName;
	}

	public int getItemStartIndex() {
		return itemStartIndex;
	}

	public void setItemStartIndex(int itemStartIndex) {
		this.itemStartIndex = itemStartIndex;
	}

	public GameArrangeType getArrType() {
		return arrType;
	}

	public void setArrType(GameArrangeType arrType) {
		this.arrType = arrType;
	}

	public int getTotalTime() {
		return totalTime;
	}

	public void setTotalTime(int totalTime) {
		this.totalTime = totalTime;
	}

	public int getItemCount() {
		return itemCount;
	}

	public void setItemCount(int itemCount) {
		this.itemCount = itemCount;
	}

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		if (this.score < score) {
			this.score = score;
		}
	}

	public boolean isLock() {
		return lock;
	}

	public void setLock(boolean lock) {
		this.lock = lock;
	}

}
